package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * @author zhuliang
 * @version V1.0
 * @Description: 运维管理-工单
 * @date 2020-12-16 17：46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "运维管理-工单实体类")
public class CcmsSmartleasingWorkOrder implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "pk_work_order_id")
    private String pkWorkOrderId;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间(提交时间)")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为'false'")
    private Byte deleteSign;

    @ApiModelProperty(value = "工单状态：0待处理，1已处理")
    private String workOrderStatus;

    @ApiModelProperty(value = "提交人")
    private String submitter;

    @ApiModelProperty(value = "提交人联系方式")
    private String submitterContactInformation;

    @ApiModelProperty(value = "工单内容")
    private String workOrderContent;

    @ApiModelProperty(value = "工单类型，外键")
    private String fkWorkOrderTypeId;

    @ApiModelProperty(value = "处理时间")
    private Date processingTime;

    @ApiModelProperty(value = "处理人")
    private String handler;

    @ApiModelProperty(value = "处理人联系方式")
    private String handlerContactInformation;

    @ApiModelProperty(value = "处理结果")
    private String processingResults;

    @ApiModelProperty(value = "现场图片")
    private String scenePicture;

    @ApiModelProperty(value = "现场图片拆分的数组")
    @TableField(exist = false)
    private String[] scenePictureList;

    @ApiModelProperty(value = "工单类型名称")
    @TableField(exist = false)
    private String typeName;

    private static final long serialVersionUID = 1L;
}
